import ReactDOM from 'react-dom/client'
import '@/index.scss'
import { RouterProvider } from 'react-router-dom'
import { router } from '@/router'
ReactDOM.createRoot(document.getElementById('root')!).render(
  <RouterProvider router={router}></RouterProvider>
)
declare global {
  interface Window {
    $wujie: {
      props: Record<string, any>
      bus: {
        $emit: any
        $on: any
      }
    }
  }
}
